#include <iostream>
#include <vector>

using namespace std;

void triple(int *n) {
  *n *= 3;
}

int main(int argc, char const *argv[]) {
  int x = 3;
  triple(&x);
  cout << x << endl;
  return 0;
}

